#include "stdafx.h"
#include "ItemListPanelFactory.h"

#include "ItemListPanel.h"

#ifdef WIN32
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
#endif

namespace serika
{
	namespace dq
	{
		ItemListPanelFactory::ItemListPanelFactory()
		{
		}

		ItemListPanelFactory::~ItemListPanelFactory()
		{
		}

		ItemTabPanel* ItemListPanelFactory::CreatePanel(int itemType, CTabCtrl* parent)
		{
			ItemListPanel* panel = new ItemListPanel(itemType, parent);
			panel->Create(parent);
			return panel;
		}
	}
}
